package com.nc.delivery_project.server.service;

import com.nc.delivery_project.server.dao.AbstractDao;
import com.nc.delivery_project.server.dao.LegalPersonDao;
import com.nc.delivery_project.server.domain.LegalPerson;
import com.nc.delivery_project.server.domain.NaturalPerson;
import com.nc.delivery_project.server.domain.User;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * Created by miroshnik on 1/23/2015.
 */
public class LegalPersonService extends PersonService<LegalPerson> {
    
    public LegalPersonService(AbstractDao<LegalPerson> dao) {
        super(dao);
    }

    public LegalPersonService(AbstractDao<LegalPerson> dao, Connection connection) {
        super(dao, connection);
    }

    public LegalPersonService() {
        super(new LegalPersonDao());
    }

    public LegalPersonService(Connection conn, boolean isAutoCloseConnection) {
        super(new LegalPersonDao(), conn, isAutoCloseConnection);
    }
}
